package com.d0324;

import com.d0330.Account;

public class TestNewInstance {
    public static void main(String[] args) {
        Class clazz= Account.class;

        try{
            Account account=(Account) clazz.newInstance();
            System.out.println(account);
        }catch (IllegalAccessException e){
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        }
    }
}
